package com.class05;

/**
 * @ClassDescription:
 * @JdkVersion: 17  实现计算接口，单纯+ - * / 的实现，没有掺杂其他功能
 * @Author: yxy  目标类
 * @Created: 2023/11/1 9:20   100000   CalculatorPureImpl
 */
public class CalculatorPureImpl implements Calculator {
    @Override
    public int add(int i, int j) {

        int result = i + j;
        return result;
    }

    @Override
    public int sub(int i, int j) {
        int result = i - j;
        return result;
    }

    @Override
    public int mul(int i, int j) {
        int result = i * j;
        return result;
    }

    @Override
    public int div(int i, int j) {
        int result = i / j;
        return result;
    }
}
